#include <stdio.h>

int main() {
    int input=0;
    int positive=0;
    int negative=0;
    while(scanf("%d",&input)!=EOF)
    {
        if(input>=0)
        positive++;
        else
        negative++;
    }
    printf("positive:%d\nnegative:%d",positive,negative);
    return 0;
}
